System for trimming non-volatile memory cells

ABSTRACT

A reference cell programming system comprising a memory device and a tester. The memory device includes a memory array having at least one non-volatile reference cell and a sense amplifier coupled to sense a cell current conducted by the reference cell. The tester is coupled to the memory to program the reference cells to a designated charge level. Moreover, the tester provides a reference current that is coupled to the sense amplifier and monitors an output of the sense amplifier.

RELATED APPLICATION

[0001] This is a divisional application of U.S. patent application Ser. No. 09/818,957 filed Mar. 27, 2001, titled “Method and Apparatus For Trimming Non-Volatile Memory Cells” and commonly assigned, the entire contents of which is incorporated herein by reference.

TECHNICAL FIELD OF THE INVENTION

[0002] The present invention relates generally to non-volatile memories and in particular the present invention relates to trimming non-volatile reference memory cells.

BACKGROUND OF THE INVENTION

[0003] Memory devices are typically provided as internal storage areas in the computer. There are several different types of memory. One type of memory is random access memory (RAM) that is typically used as main memory in a computer environment. Most RAM is volatile, which means that it requires a steady flow of electricity to maintain its contents. Computers often contain a small amount of read-only memory (ROM) that holds instructions for starting up the computer. An EEPROM (electrically erasable programmable read-only memory) is a special type non-volatile ROM that can be erased by exposing it to an electrical charge. Like other types of ROM, EEPROM is traditionally not as fast as RAM. EEPROM comprise a large number of memory cells having electrically isolated gates (floating gates). Data is stored in the memory cells in the form of charge on the floating gates. Charge is transported to or removed from the floating gates by programming and erase operations, respectively.

[0004] Yet another type of non-volatile memory is a Flash memory. A Flash memory is a type of EEPROM that can be erased and reprogrammed in blocks instead of one byte at a time. A typical Flash memory comprises a memory array that includes a large number of memory cells arranged in a row and column fashion. Each memory cell includes a floating gate field-effect transistor capable of holding a charge. The cells are usually grouped into erasable blocks. Each of the memory cells can be electrically programmed in a random basis by charging the floating gate. The charge can be removed from the floating gate by an erase operation. Thus, the data in a cell is determined by the presence or absence of the charge in the floating gate.

[0005] To program a memory cell, a high positive voltage Vg is applied to the control gate of the cell. In addition, a moderate positive voltage is applied to the drain (Vd) and the source voltage (Vs) and the substrate voltage (Vsub) are at ground level. These conditions result in the inducement of hot electron injection in the channel region near the drain region of the memory cell. These high-energy electrons travel through the thin gate oxide towards the positive voltage present on the control gate and collect on the floating gate. The electrons remain on the floating gate and function to reduce the effective threshold voltage of the cell as compared to a cell that has not been programmed. A programmed non-volatile memory cell is said to be at a logic level of “0”.

[0006] In flash memories, blocks of memory cells are erased in groups. This is achieved by putting a negative voltage on the word lines of an entire block and coupling the source connection of the entire block to Vcc (power supply), or higher. This creates a field that removes electrons from the floating gates of the memory elements. In an erased state, the memory cells can be activated using a lower control gate voltage. An erased non-volatile memory cell is said to be at a logic level of “1”.

[0007] Non-volatile memory systems, including flash memory systems, use a variety of sense amplifiers to verify the state of memory cells in a memory array. Verification of a non-volatile memory cell is accomplished by applying a potential to the control gate of the cell to be verified and then using a sense amplifier to compare a current generated by the cell with a known current from a reference cell. The reference cell is a non-volatile memory cell or bit that has a predefined charge that is set or trimmed by the manufacture of the memory to produce a specific reference current in response to a known gate voltage. The sense amplifier determines whether the memory cell to be verified draws more or less current than the reference current. By doing this, the sense amplifier determines if the memory cell is in a programmed state or an erased state.

[0008] The reference cell or cells are pre-programmed by the memory manufactures. The time needed to program these cells to a desired voltage threshold (Vt) can be significant. Moreover, the longer it takes to program the cells the less memory devices can be produced for sale. Therefore, the longer the period of time needed to program reference cells, the more the memory device costs to make.

[0009] For the reasons stated above, and for other reasons stated below which will become apparent to those skilled in the art upon reading and understanding the present specification, there is a need in the art for an improved method of preprogramming reference cells.

SUMMARY OF THE INVENTION

[0010] The above-mentioned problems with non-volatile memory devices and other problems are addressed by the present invention and will be understood by reading and studying the following specification.

[0011] In one embodiment, a reference cell programming system comprising a memory device and a tester. The memory device includes a memory array having at least one non-volatile reference cell and a sense amplifier coupled to sense a cell current conducted by the reference cell. The tester is coupled to the memory to program the reference cells to a designated charge level. Moreover, the tester provides a reference current that is coupled to the sense amplifier and monitors an output of the sense amplifier.

[0012] In another embodiment, a reference program tester to pre-program a reference memory cell in a memory device comprises a reference current output, a command output and an input. The reference current output is used to supply a reference current to a sense amplifier of the memory device during pre-programming of the reference memory cell. The command output is used to provide control commands to control circuitry of the memory device and the input is used to receive a logic signal from the memory device. Moreover, the control commands are based on the logic signals received by the input.

[0013] In yet another embodiment, a reference cell trimming system is disclosed. The reference cell trimming system comprises a non-volatile memory device and a reference program tester. The non-volatile memory device includes a primary memory array of non-volatile memory cells, one or more non-volatile reference memory cells, control circuitry and a sense amplifier for each non-volatile reference memory cell. The one or more non-volatile reference memory cells are adapted to provide a voltage threshold (Vt) reference level that is used in determining the logic state of the non-volatile memory cells in the memory array. The control circuitry is adapted to control memory operations of the memory array and the one or more nonvolatile reference cells. Each sense amplifier has a first input adapted to receive a bitline current from an associated non-volatile reference cell during a trimming operation. Each sense amplifier has a second input adapted to receive an external reference current during a trimming operation. Each sense amplifier further has an output to output a logic level based on the comparison of an associated bitline current with an associated reference current during a trimming operation. The reference program tester is adapted to provide the external reference current to the second input of each sense amplifier during the trimming operation.

BRIEF DESCRIPTION OF THE DRAWINGS

[0014]FIG. 1 is a flow chart illustrating the pre-programming of a reference cell of the prior art.

[0015]FIG. 2 is a block diagram of a memory device of an embodiment of the present invention.

[0016]FIG. 3 is a flow chart illustrating the pre-programming of a reference cell of one embodiment the present invention.

DETAILED DESCRIPTION OF THE INVENTION

[0017] In the following detailed description of the preferred embodiments, reference is made to the accompanying drawings, which form a part hereof, and in which is shown by way of illustration specific preferred embodiments in which the inventions may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that logical, mechanical and electrical changes may be made without departing from the spirit and scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the claims.

[0018] The present invention reduces the test time required to trim reference cells to a specific threshold voltage by shortening a verify step with the use of internal sense amplifiers in a memory device. To better understand the present invention, further background is first provided.

[0019] Referring to FIG. 1, a flow chart of a traditional method of trimming a reference cell (200) is illustrated. A reference cell is trimmed by first erasing the reference cell below the desired Vt (202). A program pulse is then applied to the reference bit or cell (204) to store charge on the cell. A bitline access mode is then applied to the reference cell. The bitline access mode is a test mode that places a voltage, i.e. 1 volt, on the drain of the reference cell (206) and a voltage on the control gate of the reference cell (208). A tester portable memory unit (pmu) is then used to measure the current and verify if a reference cell (210) has reached the desired Vt. If the target Vt has not been reached on the reference cell, another program pulse is applied to the reference cell (204). Once again, a voltage is then applied to the drain of the reference cell (206) and to the control gate of the reference cell (208). The tester pmu once again measures the current and verifies if the reference cell (210) has reached the Vt. This process is repeated until it is verified that a sufficient charge has been stored on the floating gate of the reference cell.

[0020] The time required to verify a reference cell with a tester pmu takes a long period of time relative to the time needed to program the reference cell. Activating the tester pmu, to measure the current of the reference cell, can take up to 100 ms. Moreover, it can take seconds to complete verification if repeated cycles of applying program pulses to the reference cell and measuring for Vt is required. Although a tester pmu or reference program tester is used in the present invention, a bitline access mode is not used to measure the current of the reference cell to verify VT, thus no test time is wasted on tester pmu activation for each verify cycle.

[0021] Referring to FIG. 2, one embodiment of the present invention is illustrated. FIG. 2 is a simplified illustration of the relevant elements of the present invention. As shown, a reference program tester or external tester equipment 102 is coupled to a memory device 100 to supply a reference current to an input of sense amplifier 108 in a circuit of sense amplifiers 110. The reference program tester 102 has an input 134 that is coupled to the output of the sense amplifier 108 to verify an output signal of the sense amplifier 108. Although, FIG. 2 illustrates the reference program tester 102 being directly coupled to the output of the sense amplifier 108, it will be understood in the art that other elements of a non-volatile memory device (i.e. I/O buffer, or data lines) may be coupled between the test circuit and the output of the sense amplifier and that the present invention is not limited to a direct connection of the reference program tester 102 to the sense amplifier 108.

[0022] The reference program tester 102 further has a command output(s) 132 that is coupled to control circuitry 118 of the memory device 100 to provide external commands to the control circuitry 118. The control circuitry 118 controls erase, program and other memory operations of the memory device 100. A high voltage switch/pump 116 is also shown to provide a voltage source for the program pulses applied to the memory cells. A reference cell or reference memory cell 106 is illustrated in the memory array 104. A drain of the reference cell 106 is coupled to another input of the sense amplifier 108 by a bitline 120. The memory device 100 is further shown as having a column decode circuit 112 and a row decode circuit 114. Although, FIG. 2 is shown as only having one reference cell, it will be understood in the art that a memory device may have more than one reference cell and that the present invention is not limited to one reference cell. Further, the reference cells may be located in a separate “mini” array and not located with the primary data array.

[0023] Referring to FIG. 3, a flow chart of a method of trimming a reference cell (300) of the present invention is illustrated. The reference cell 106 is first erased below a desired Vt (302) by the control circuitry 118. A reference current output 130 of the reference program tester 102 then supplies a reference current to an input of sense amplifier 108. The reference current level is equal to a current level that would be indicative of a current supplied by an accessed memory cell having the desired Vt. The reference current is supplied to the sense amplifier 108 during the remainder of the trimming cycle. A low level program pulse is then applied to the control gate of the reference cell 106 (306) to gently charge up the reference cell 106. The low level program pulse is used to add a small charge to the reference cell. In one embodiment, the low level program pulse includes applying approximately 8 volts to the control gate of the reference cell and approximately 5.4 volts to the drain of the reference cell while the source and the substrate of the reference cell is at ground level. This low level program pulse is applied for a period of approximately 1 ms. The reference cell 106 is then read (308). As known to those in the art, a cell is read by providing a predetermined access voltage to a wordline coupled to a control gate of the cell. For, example, in one embodiment, an access voltage of approximately 3.9 volts is used. In another embodiment, an access voltage of approximately 3.4 volts is used. In response to the access voltage, the cell provides a cell or bit current in a bitline that is coupled to a drain of the cell. The cell or bit current in the bitline is indicative of the charge stored on the cell or bit.

[0024] Reading or accessing the reference cell provides a cell current from the reference cell 106 to the other input of the sense amplifier 108. The sense amplifier 108 then compares the cell current supplied by the reference cell 106 to the reference current supplied by the reference program tester 102 (310). The sense amplifier outputs a logic level of a “1” or a logic level of a “0”. In one embodiment of the present invention, an output of a logic level 1 indicates the reference cell is below the desired Vt and that an additional program pulse is needed and an output of a logic level 0 indicates the reference cell exceeds the desired Vt. In this embodiment, when the output transitions from a logic level 1 to a logic level 0, the trimming cycle is complete. In another embodiment of the present invention, an output of a logic level 0 indicates the reference cell is below the desired Vt and that an additional program pulse is needed and an output of a logic level 1 indicates the reference cell exceeds the desired Vt. In this embodiment, when the output transitions from a logic level 0 to a logic level 1, the trimming cycle is complete. Verifying with the use of internal sense amplifiers of a memory device can be done in approximately 200 ns per cycle. That is, it only takes about 200 ns to verify the state of a reference cell after a program pulse has been applied.

[0025] Unlike the prior art method of verifying a reference cell, the present invention does not directly measure the reference current but monitors the logic output of the memory device containing the reference cell. That is, the present invention verifies a reference cell when the reference cell transitions from a memory cell having a voltage level below the desired Vt to a memory cell having a voltage level above the desired Vt as indicated by the logic output. The resulting voltage level on the reference cell provides a current that is above the reference current. The difference in the resulting voltage level on the reference cell is determined by the strength of the program pulse applied. That is, the lower the strength of the program pulse, the less charge will be stored on the floating gate of the memory cell and the closer the voltage level of the reference memory cell will be to the desired Vt level once the logic output changes. A longer programming pulse will program the reference cell with less programming pulses, but shorter programming pulses provide for a more accurate trim.

Conclusion

[0026] A method and apparatus for trimming a non-volatile memory cell has been closed. One method comprising, erasing the memory cell below a desired voltage threshold (Vt) level, applying a program pulse to the memory cell, reading the memory cell, comparing a current conducted by the memory cell with an externally provided reference current using a sense amplifier that is internal to a memory device that contains the memory cell, producing a digital output based on the comparison of the currents and applying successive program pulses until the digital output changes from one logic state to another.

[0027] Although specific methods and embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement, which is calculated to achieve the same purpose, may be substituted for the specific embodiment shown. This application is intended to cover any adaptations or variations of the present invention. Therefore, it is manifestly intended that this invention be limited only by the claims and the equivalents thereof. 

What is claimed is:
 1. A reference cell programming system comprising: a memory device including, a memory array having at least one non-volatile reference cell, a sense amplifier coupled to sense a cell current conducted by the reference cell; and a tester coupled to the memory to program the reference cells to a designated charge level, wherein the tester provides a reference current that is coupled to the sense amplifier and monitors an output of the sense amplifier.
 2. The reference cell programming system of claim 1 wherein the sense amplifier compares the cell current with the reference current and provides a logic level output based on the comparison.
 3. The reference cell programming system of claim 2 wherein the reference program tester directs control circuitry of the memory device to provide program pulses to the reference cell based on the logic level output of the sense amplifiers.
 4. The reference cell programming system of claim 3 wherein the reference program tester directs the control circuitry to erase the reference cells prior to providing the program pulses.
 5. A reference program tester to pre-program a reference memory cell in a memory device comprising: a reference current output to supply a reference current to a sense amplifier of the memory device during pre-programming of the reference memory cell; a command output to provide control commands to control circuitry of the memory device; and an input to receive a logic signal from the memory device, wherein the control commands are based on the logic signals received by the input.
 6. The reference program tester of claim 5 wherein the logic signals indicate if the reference memory cell is programmed to a desired voltage threshold.
 7. The reference program tester of claim 5 wherein the reference current is indicative of a desired memory cell current.
 8. The reference program tester of claim 5 wherein the control commands of the command output include commands to erase the reference memory cell below a desired voltage threshold and commands to provide program pulses to the reference memory cell.
 9. A reference cell trimming system comprising: a non-volatile memory device comprising, a primary memory array of non-volatile memory cells, one or more non-volatile reference memory cells adapted to provide a voltage threshold (Vt) reference level that is used in determining the logic state of the non-volatile memory cells in the memory array, control circuitry adapted to control memory operations of the memory array and the one or more non-volatile reference cells, and a sense amplifier for each non-volatile reference memory cell, each sense amplifier having a first input adapted to receive a bitline current from an associated non-volatile reference cell during a trimming operation, each sense amplifier having a second input adapted to receive an external reference current during a trimming operation, each sense amplifier further having an output to output a logic level based on the comparison of an associated bitline current with an associated reference current during a trimming operation; and a reference program tester adapted to provide the external reference current to the second input of each sense amplifier during the trimming operation.
 10. The reference cell trimming system of claim 9, wherein the external reference current is approximately equal to the current produced by a memory cell having the desired Vt level during a read operation.
 11. The reference cell trimming system of claim 9, wherein the external reference program tester is coupled to read the logic level from each sense amplifier to verify the program state of associated non-volatile reference memory cells.
 12. The reference cell trimming system of claim 11, wherein a non-volatile memory cell is verified as being properly programmed when a “0” logic level is monitored by the external reference program tester.
 13. The reference cell trimming system of claim 11, wherein a non-volatile memory cell is verified as being properly programmed when a “1” logic level is monitored by the external reference program tester.
 14. The reference cell trimming system of claim 9, wherein the external reference program tester is adapted to provide external trimming commands to the control circuitry, further wherein the control circuitry performs the trimming operations on the one or more non-volatile reference memory cells in response to the external trimming commands.
 15. The reference cell trimming system of claim 14, wherein the trimming operations performed by the control circuitry include erasing the one or more nonvolatile reference memory cells below the Vt level, applying a low program pulse to the one or more non-volatile reference memory cells and applying a read operation on the one or more non-volatile reference memory cells.
 16. The reference cell trimming system of claim 14, wherein the external reference program tester is adapted to read the logic level from each sense amplifier to verify the program state of associated non-volatile reference memory cells and direct the control circuitry to provide additional program pulses to non-volatile reference memory cells that are not in a programmed state.
 17. The reference cell trimming system of claim 16, wherein the non-volatile memory device further comprises: a high voltage/switch pump adapted to provide program pulses to the nonvolatile reference memory cells under the direction of the control circuitry. 